package com.yupi.springbootinit.model.dto.course;

import com.yupi.springbootinit.constant.CommonConstant;
import lombok.Data;

@Data
public class CourseQueryRequest {
    /**
     * 当前页号
     */
    private long current = 1;

    /**
     * 页面大小
     */
    private long pageSize = 10;

    /**
     * 课程名称
     */
    private String title;

    /**
     * 讲师id
     */
    private Long teacherId;
    
    /**
     * 排序字段
     */
    private String sortField;

    /**
     * 排序顺序（默认升序）
     */
    private String sortOrder = CommonConstant.SORT_ORDER_ASC;
} 